//
//  StoreOrderDetailController.h
//  YongChuanTradingArea
//
//  Created by 李冰 on 2017/9/9.
//  Copyright © 2017年 李冰. All rights reserved.
//

#import "BaseViewController.h"

@class StoreOrderDetailModel;
@interface StoreOrderDetailController : BaseViewController
//@property (nonatomic, strong) NSString *orderId;
//@property (nonatomic, strong) NSString *ordersn;
@property (nonatomic, strong) StoreOrderDetailModel *model;
@property (nonatomic, strong) NSString *QRCode;
@end

@class DecopnListModel;
@interface StoreOrderDetailModel : NSObject<YYModel>
@property (nonatomic, copy) NSString *BaseId;
@property (nonatomic, copy) NSString *BaseType;
@property (nonatomic, copy) NSString *Distance;
@property (nonatomic, copy) NSString *GoodsName;
@property (nonatomic, copy) NSString *Icon;
@property (nonatomic, copy) NSString *Id;
@property (nonatomic, copy) NSString *MemberAddress;
@property (nonatomic, copy) NSString *MemberName;
@property (nonatomic, copy) NSString *MemberPhone;
@property (nonatomic, copy) NSString *OrderState;
@property (nonatomic, copy) NSString *Ordersn;
@property (nonatomic, copy) NSString *PayNumber;
@property (nonatomic, copy) NSString *PayPhone;
@property (nonatomic, copy) NSString *PayTime;
@property (nonatomic, copy) NSString *State;
@property (nonatomic, copy) NSString *StoreId;
@property (nonatomic, copy) NSString *TotalPrice;
@property (nonatomic, copy) NSString *UnitPrice;
@property (nonatomic, strong) NSArray <DecopnListModel *> *DecopnlList;
//BaseId = 100;
//BaseType = 2;
//DecopnlList =         (
//                       {
//                           DecopnNumeber = 7959654283068;
//                           DecopnState = "\U672a\U6d88\U8d39";
//                           ValidityTime = "/Date(1511798400000+0800)/";
//                       },
//                       {
//                           DecopnNumeber = 9025663767881;
//                           DecopnState = "\U672a\U6d88\U8d39";
//                           ValidityTime = "/Date(1511798400000+0800)/";
//                       }
//                       );
//Distance = "14.7201";
//GoodsName = "\U4e1d\U889c\U5976\U8336-\U723d\U590f\U65e5";
//Icon = "http://47.92.115.33:8182/goodsImg/TGSLT/swncsy.jpg";
//Id = 2431;
//MemberAddress = "\U7ef5\U9633\U5e02\U6daa\U57ce\U533a\U957f\U8679\U5927\U9053\U5357\U6bb59\U53f71\U680b2\U5c4222\U53f7";
//MemberName = "\U661f\U5df4\U514b";
//MemberPhone = 13689026731;
//OrderState = 3;
//Ordersn = 17092116284668;
//PayNumber = 2;
//PayPhone = 13708194124;
//PayTime = "/Date(1505982539767+0800)/";
//State = "\U5f85\U4f7f\U7528";
//StoreId = 1;
//TotalPrice = "0.2";
//UnitPrice = "0.10";

//BaseId = 101;
//BaseType = 1;
//DecopnlList =         (
//                       {
//                           DecopnNumeber = 9084148778572;
//                           DecopnState = "\U4f7f\U7528";
//                           ValidityTime = "/Date(253402185600000+0800)/";
//                       }
//                       );
//Distance = "13.5319";
//GoodsName = "5\U5143\U70e4\U9c7c";
//Icon = "http://47.92.115.33:8182/goodsImg/TGSLT/0a4d3f7401b14fefbbd4eb29fada322b.jpg";
//Id = 2497;
//MemberAddress = "\U9526\U6c5f\U533a\U6d77\U6912\U5e0223\U53f7";
//MemberName = "\U5f20\U6c0f\U70e7\U70e4";
//MemberPhone = 13689026731;
//OrderState = 3;
//Ordersn = 17092610535203;
//PayNumber = 1;
//PayPhone = 13708194124;
//PayTime = "/Date(1506394448423+0800)/";
//State = "\U5f85\U4f7f\U7528";
//StoreId = 2;
//TotalPrice = "0.1";
//UnitPrice = "0.10";
//}

@end

@interface DecopnListModel : NSObject

@property (nonatomic, copy) NSString *DecopnNumeber;
@property (nonatomic, copy) NSString *DecopnState;
@property (nonatomic, copy) NSString *ValidityTime;
//DecopnNumeber = 9025663767881;
//DecopnState = "\U672a\U6d88\U8d39";
//ValidityTime = "/Date(1511798400000+0800)/";

@end
